package io.geekidea.springbootplus.system.entity;

import io.geekidea.springbootplus.framework.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "微信登录信息对象", description = "微信登录信息对象")
public class WxLoginInfo extends BaseEntity {
    private static final long serialVersionUID = 6278364530764976439L;

    @ApiModelProperty("用户登录凭证")
    String code;

    @ApiModelProperty("加密用户数据")
    String encryptedData;

    @ApiModelProperty("加密算法的初始向量")
    String iv;

    @ApiModelProperty("绑定手机号必须会话密钥")
    String sessionKey;

    @ApiModelProperty("绑定手机号必须传入用户编号")
    String userId;

}
